﻿namespace X2OPC.Core.Security
{
    using System.Runtime.InteropServices;

    [ComImport, ComVisible(true), Guid("7AA83A02-6C77-11D3-84F9-00008630A38B"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IOPCSecurityPrivate
    {
        void IsAvailablePriv(out int pbAvailable);
     
        void Logon([In, MarshalAs(UnmanagedType.LPWStr)] string szUserID, [In, MarshalAs(UnmanagedType.LPWStr)] string szPassword);
     
        void Logoff();
    }
}
